package com.cloudlead.plugin.dict.repository.impl;

import com.cloudlead.plugin.dict.BusinessModules;
import com.cloudlead.plugin.dict.entity.EDict;
import com.cloudlead.plugin.dict.repository.EDictRepository;
import com.cloudlead.common.persistence.impl.AbstractCrudRepository;

import javax.sql.DataSource;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Autowired;
import com.cloudlead.common.lang.annotation.Label;
import org.springframework.stereotype.Repository;

/**
 * EDictRepositoryImpl is a Querydsl repository implement type
 */
@Label("字典存储实现")
@Repository("eDictRepository")
public class EDictRepositoryImpl extends AbstractCrudRepository<EDict, String> implements EDictRepository {

    @Autowired
    public EDictRepositoryImpl(
    		@Qualifier("hasTranDataSource") DataSource dataSource) {
    	super(BusinessModules.Dict, dataSource);
    }
    
}

